@import '../node_modules/fed-lib/less/_lesshat.less';
@import '../node_modules/fed-lib/less/_common.less';
.swim-graph{
	position: relative;
	.swim-mouse-line{
		width: 1px;
		background-color: #000;
		position: absolute;
		top: 18px;
		bottom: 0;
		z-index: 150;
		display: none;
		&.mouseover{
			display: block;
		}
	}
	.swim-mouse-tips{
		width: 300px;
		padding: 10px;
		background-color: #FFF;
		border: 1px solid #CCC;
		.box-shadow(0 0px 2px rgba(0, 0, 0, 0.2));
		.border-radius(3px);
		div{
			height: 45px;
			strong{
				float: left;
				width: 33%;
				text-align: center;
			}
		}
		ul{
			margin-top: 8px;
			padding-top: 10px;
			border-top: 1px solid #D5D5D5;
			li{
				height: 24px;
				line-height: 24px;
				em{
					float: right;
				}
			}
		}
		position: absolute;
		z-index: 150;
		display: none;
		&.mouseover{
			display: block;
		}
	}
	.swim-graph-bar{
		height: 20px;
		margin-left: 20%;
		position: relative;
		.swim-graph-num{
			position: absolute;
			.swim-graph-num-label{
				width: 6em;
				text-align: center;
				margin-left: -3em;
			}
			.swim-graph-num-line{
				width: 1px;
				background-color: #CCC;
				position: absolute;
				top: 18px;
				z-index: 1;
				height:100%;
			}
		}
	}
	.swim-graph-container{
		position: relative;
		z-index: 2;
	}

	.swim-graph-group{
		h4{
			background-color: #DDD;
			height: 34px;
			line-height: 34px;
			padding: 0 10px;
		}
	}
	.swim-graph-series{
		height: 40px;
		border-bottom: 1px solid #CCC;
		.swim-graph-series-label{
			height: 40px;
			line-height: 40px;
			width: 20%;
			float: left;
			span{
				.cut();
				padding-left: 10px;
			}
			.swim-graph-series-label-data{
				float: right;
				line-height: 1;
				text-align: right;
				padding: 5px;
				i{
					font-style: normal;
					color: #00a2ff;
					font-size: 16px;
					margin-right: 4px;
				}
			}
		}
		.swim-graph-series-data{
			margin-left: 20%;
			height: 40px;
			position: relative;
			.points{
				background-color: #a1b4e1;
				position: absolute;
				bottom: 0;
			}
			.index-point{
				position: absolute;
				.border-radius(3px);
			}
			.traces-point{
				height: 20px;
				position: absolute;
				top: 10px;
				.border-radius(3px);
			}
		}
	}
}
